package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HGuide;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface HGuideMapper {
    int deleteByPrimaryKey(String id);

    int insert(HGuide record);

    int insertSelective(HGuide record);

    HGuide selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HGuide record);

    int updateByPrimaryKey(HGuide record);

    List<HGuide> selectAll(RowBounds rowBounds,
                           @Param("queryName") String queryName,
                           @Param("certificatesNumber")String queryCertificatesNumber,
                           @Param("auditStatus")String queryAuditStatus,
                           @Param("addressIdList")List<String> addressIdList);

    HGuide selectByUserId(String userId);

    List<HGuide> selectByNameAndPhone(@Param("guideName") String guideName,@Param("guidePhone")String guidePhone);
}